<%@ page language="java" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>注册成功</title>
    
<style type="text/css">
#second {
	font-size: 50px;
	font-style: oblique;
	font-weight: bold;
	text-decoration:underline;
	color: #F00;
}
#content {
	text-align: center;
}
</style>
</head>

<body>


<div id="content">
  <h3 id="text">恭喜你，注册成功，系统将自动跳转到登录页面</h3>
  <div id="second">3</div>
    <div> 你也可以直接点击  <a href="login.do">这里</a> </div>
</div>



<script type="text/javascript">
var second=3;
var timer;

function change(){
    second--;
 
  if(second>-1){
	 
     document.getElementById("second").innerHTML=second;
     timer = setTimeout('change()',1000);
 
  }else{
     clearTimeout(timer);
	
     location.href="login.do";
	 
  }
}

timer = setTimeout('change()',1000);

</script>

  </body>
</html>
